| 1. | Steps to creating efficient thread - safe classes 创建高效的线程安全类的步骤 |
| 2. | Writing efficient thread - safe classes 编写高效的线程安全类 |
| 3. | Example of a thread - safe class 一个线程安全类的示例 |
| 4. | However , making thread - safe classes efficient is still difficult 但是,使线程安全类具有较高的效率仍然比较困难。 |
| 5. | Kl key - locked safes class kl 钥匙锁保险柜 |
| 6. | Kl key - locked safes class kl 键锁紧保险箱 |
| 7. | The simplest way to make a thread - safe class is to declare every method as synchronized 编写线程安全类的最简单的方法是用synchronized声明每个方法。 |
| 8. | The result is a type - safe class tailored to your choice of types , as the following code illustrates 最后得到按照您选择的类型定制的类型安全的类,如下面的代码所示。 |
| 9. | Language - level support for locking objects and for inter - thread signaling makes writing thread - safe classes a snap 在语言级支持锁定对象和线程间发信使编写线程安全类变得简单。 |
| 10. | Always wrap your stored procedures in a high level , type safe class . only that class invokes the stored procedures 总是在高层用类型安全的类包装存储过程。仅在那个类中调用存储过程。 |